<template>
  <router-view />
  <Coopen />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import Coopen from '@/layouts/Coopen.vue'
import jsBridge from '@/utils/jsBridge'

export default defineComponent({
  name: 'App',
  components: { Coopen },
  setup() {
    jsBridge.nativeCallJs()
  }
})
</script>

<style>
#app {
  width: 100%;
  transform: translate(0, 0);
  height: calc(100% - env(safe-area-inset-bottom));
  height: calc(100% - constant(safe-area-inset-bottom));
}
</style>
